package by.semerikov.converter.tostring;

import by.semerikov.parts.HttpVersion;

public class HttpVersionToStringFormater implements IToStringFormater<HttpVersion> {

	@Override
	public String convert(HttpVersion object) {
		StringBuilder result = new StringBuilder();
		result.append(object.getHeader());
		result.append("/");
		result.append(object.getVersion());
		return result.toString();
	}

}
